﻿//// -----------------------------------------------------------------------
//// <copyright file="NotifyList.cs" company="Microsoft">
//// TODO: Update copyright text.
//// </copyright>
//// -----------------------------------------------------------------------

//namespace Proto
//{
//    using System;
//    using System.Collections.Concurrent;
//    using System.Collections.Generic;
//    using System.Collections;

//    public class SubsNotifyList<T_VALUE> : NotifyList<T_VALUE>
//    {
//        private ConcurrentQueue<T_VALUE> m_UpdateQueue;

//        public SubsNotifyList(){ m_UpdateQueue = new ConcurrentQueue<T_VALUE>();}

//        public void EnqueueUpdate( T_VALUE update ){}
        
//        public bool TryDequeueUpdate( out T_VALUE update )
//        {
//            return m_UpdateQueue.TryDequeue(out update);
//        }

//        public bool RecieveProcessing()
//        {
//            // this doesn't do it. We need to find the associated _subscription_
//            // and fire its update.
//            // well... we need to do both.

//            T_VALUE update;
//            while( m_UpdateQueue.TryDequeue( out update ) )
//            {
//                Add( update );
//            }
//        }
//    }
//}